<template>
  <div>
    <div ref="div" @click="handleclick">测试</div>
  </div>
</template>

<script>
export default {

  data () {
    return {
      info: 'hello'
    }
  },
  methods: {
    handleclick () {
      console.log(this.info)
    }
  }
}
</script>

<style>

</style>
